//
//  GetNearBySpotTask.h
//  ZooNgonDoiOS
//
//  Created by Anh Jun Linh Tinh on 7/4/12.
//  Copyright (c) 2012 Personal. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "RestKit/RestKit.h"

@interface GetNearBySpotTask : NSObject <RKRequestDelegate>{
    int _limit;
    int _accLvl;
    NSString *_long;
    NSString *_lat;
    id _target;
    SEL _selector;
}
-(id)initWithParams:(NSString *)lon lat:(NSString *)lat;
-(id) initWithParams:(NSString *)lon lat:(NSString *)lat limit:(int)limit;
-(id) initWithParams:(NSString *)lon lat:(NSString *)lat limit:(int)limit acclevel:(int)accLvl;
-(void) doExecute:(id)pCaller callback:(SEL)pCallback;
@end
